PGI\Module\APICharity\Services\Facades\ApiFacade S

Total Complexity 42
Dependencies 9
Dependents 7
Total lines 743
Lines of code 296
Logical lines of code 107
Comment lines 265
Methods 40
Properties 4

Methods 40

Method Rating Maintainability Complexity Lines of code
checkTestMode()
S
64 3 11
createDonation()
S
57 1 16
getDonations()
S
60 1 13
updatePartnershipGroup()
S
63 1 11
fulfillPledgedDonation()
S
64 1 10
getPartnershipGroupRule()
S
68 1 7
createPartnershipGroupRule()
S
64 1 10
deactivatePartnershipGroupRule()
S
68 1 7
getCurrentPartnershipGroupRule()
S
73 1 5
getDonation()
S
68 1 7
__construct()
S
71 1 6
getPartnershipGroupRules()
S
65 1 9
getDonationDisplays()
S
68 1 7
getDonationDisplay()
S
68 1 7
recordDonationDisplay()
S
64 1 10
getDonationReport()
S
64 1 10
getDonationsHistory()
S
68 1 7
roundUpNumber()
S
68 1 7
isTestModeActivated()
S
80 1 3
refundDonation()
S
68 1 7
cancelPartnershipGroup()
S
68 1 7
getRequestFactory()
S
82 1 3
getAvailableAssociations()
S
68 1 7
setRequestFactory()
S
81 1 3
getRequestSender()
S
82 1 3
getApiEntryPoint()
S
81 1 3
getOAuthAccess()
S
64 1 10
refreshOAuthAccess()
S
65 1 9
getAccountInfos()
S
70 1 6
getUserData()
S
68 1 7
getAssociation()
S
68 1 7
createPartnershipGroup()
S
65 1 9
getPartnerships()
S
68 1 7
getPartnership()
S
68 1 7
requestPartnership()
S
69 1 7
cancelPartnership()
S
68 1 7
updatePartnership()
S
66 1 9
getPartnershipGroups()
S
73 1 5
getPartnershipGroup()
S
68 1 7
isAccessAvailable()
S
80 1 3